package com.ldc.service.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ldc.model.UserInfo;

import java.util.List;

/**
 * 功能描述
 *
 * @author liudi
 * @since 2023/7/22
 */
public interface UserInfoService extends IService<UserInfo> {

    UserInfo findBy(LambdaQueryWrapper<UserInfo> queryWrapper);

    UserInfo findByUserId(long userId);

    int batchDeleteBy(LambdaQueryWrapper<UserInfo> queryWrapper);

    int batchDeleteByUIds(List<Long> uids);
}
